package com.byedu.mapper.course;

import com.byedu.domain.course.AdsDO;
import com.byedu.domain.course.LibraryDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by chenxigui on 2017/4/25.
 */
@Repository
public interface AdsMapper {
    /**
     * @description 获取专题列表
     * @author chenxigui
     * @date 2017-04-26
     * @return
     */
    List<AdsDO> listCanUseAds();
    List<AdsDO> listAds();
    AdsDO getAdsById(int id);
    int insertAds(AdsDO adsDO);
    int updateAds(AdsDO adsDO);
    int delAds(int id);
}
